<template>
    <el-button type="text" @click="open6">点击打开 Message Box</el-button>
</template>

<script>
    export default {
        name: "jinyong",
        methods: {
            open6() {
                this.$confirm('已有下级组织数据，无法反审。', '警告', {
                    confirmButtonText: '确定',
                    cancelButtonText: '取消',
                    type: 'error',
                    center: true
                }).then(() => {
                    this.$message({
                        type: 'success',
                        message: '删除成功!'
                    });
                }).catch(() => {
                    this.$message({
                        type: 'info',
                        message: '已取消删除'
                    });
                });
            }
        }
    }
</script>

<style scoped>

</style>
